package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PPermission;

public interface PPermissionService {
    int countByExample(Criteria example);

    PPermission selectByPrimaryKey(Integer id);

    List<PPermission> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PPermission record);

    int updateByPrimaryKey(PPermission record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PPermission record, Criteria example);

    int updateByExample(PPermission record, Criteria example);

    int insert(PPermission record);

    int insertSelective(PPermission record);
    
    List<PPermission> getPermissions(Criteria c);
}